package io.aircraft.modules.wms.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.Date;


/**
 * 托盘信息
 *
 * @author Cycle gengruyi01@163.com
 * @since 1.0.0 2022-12-12
 */
@Data
@ApiModel(value = "托盘信息")
public class ContainerDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "id")
	private Long contId;

	@Size(max = 20, message = "托盘条码不能超过20位")
	@ApiModelProperty(value = "托盘条码")
	private String contNo;

	@ApiModelProperty(value = "托盘类型")
	private String contType;

	@ApiModelProperty(value = "托盘详情")
	private String contDescription;

	@ApiModelProperty(value = "可用状态")
	private Integer status;

	@ApiModelProperty(value = "创建用户")
	private Long creator;

	@ApiModelProperty(value = "创建日期")
	private Date createDate;

	@ApiModelProperty(value = "更新用户")
	private Long updater;

	@ApiModelProperty(value = "更新日期")
	private Date updateDate;

	/*创建用户与更新用户的编号(代替id在界面中更友好的显示)*/
	private String creatorName;
	private String updaterName;
}